---
layout: page
---
<style>
h1:not(.post-title-main) { display: none; }
</style>
{% if page.source %}
  {% if page.branch %}
    {% assign repo-branch = page.source | append: '/tree/' | append: page.branch %}
    {% assign readme-file = page.source | append: '-' | append: page.branch %}
  {% else %}
    {% assign repo-branch = page.source  %}
    {% assign readme-file = page.source  %}
  {% endif %}

  {% assign org = page.org | default: "strongloop" %}
  <div class="alert alert-info" role="alert"><i class="fa fa-info-circle"></i>
    <b>Note:</b> This page was generated from the
    <a href="https://github.com/{{org}}/{{repo-branch}}">{{page.source}} README</a>.
  </div>

  {{content}}

  {% capture included-readme %}{% include_relative readmes/{{readme-file}}.md %}{% endcapture %}
  {{ included-readme | markdownify }}
{% else %}
  <h3>ERROR: No source specified for README</h3>
{% endif %}
